<template>
	<div class="nav-top">
		<van-nav-bar right-text="通知公告" @click-right="onClickRight">
			<template #left>
				<span class="title">首页</span>
			</template>
		</van-nav-bar>
	</div>
</template>
<script setup lang="ts">
const Router = useRouter();
const onClickRight = () => {
	Router.push('/notice');
};
</script>
<style lang="scss" scoped>
.title {
	font-size: var(--van-nav-bar-title-font-size);
	font-weight: var(--van-font-bold);
	pointer-events: none;
}
</style>
